COMState
List COM State for each thread
Syntax
!COMState
Parameters
None
Example
0:011> !COMState
     ID     TEB   APT    APTId CallerTID Context
  0  3f0 7ffde000 MTA      241         0 00136228
  1  904 7ffdd000 MTA      242         0 00136228
  2  36c 7ffdc000 Ukn
  3  92c 7ffdb000 Ukn
  5  9e4 7ffd9000 Ukn
  6  878 7ffd8000 MTA        0         0 00136228
  7  790 7ffd7000 Ukn
  8  ad8 7ffd6000 MTA        0         0 00136228
  9  974 7ffd5000 MTA        0         0 00136228
 10  6b4 7ffd4000 Ukn
 11  614 7ffaf000 STA        0         0 00136960
 12  afc 7ffae000 STA        0         0 00136420
 13  b9c 7ffad000 STA        0         0 001364c8
 14  9fc 7ffac000 STA        0         0 00136570
 15  7f8 7ffab000 STA        0         0 00136618
 16  888 7ffaa000 STA        0         0 001366c0
 17  874 7ffa9000 STA        0         0 00136768
 18  a90 7ffa8000 STA        0         0 00136810
 19  67c 7ffa7000 Ukn
Output
ID Thread ID
TEB

Thread Environment Block.

Use !teb to get more information about the thread.

0:011> !teb 7ffde000
TEB at 7FFDE000
    ExceptionList:    12ffb0
    Stack Base:       130000
    Stack Limit:      12d000
    SubSystemTib:     0
    FiberData:        1e00
    ArbitraryUser:    0
    Self:             7ffde000
    EnvironmentPtr:   0
    ClientId:         984.3f0
    Real ClientId:    984.3f0
    RpcHandle:        0
    Tls Storage:      0
    PEB Address:      7ffdf000
    LastErrorValue:   0
    LastStatusValue:  103
    Count Owned Locks:0
    HardErrorsMode:   0
APT Threading model. This can be STA, MTA, NTA (neutral) or Unk (unknown)
APTId Apartment ID
CallerTID Thread ID that made the call to this apartment.
Context Location of the ObjectContext associated with this thread.